package com.cloud.edu.bus.entity;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Document(collection = "subject")
public class SubjectEntity{
	
	@Field("subId")
	private String subId;//题目ID
	
	@Field("title")
	private String title;  //题干
	
	@Field("options")
	private String options;  //选项内容
	
	@Field("rightKey")
	private String rightKey;  //答案

	public String getSubId() {
		return subId;
	}

	public void setSubId(String subId) {
		this.subId = subId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getOptions() {
		return options;
	}

	public void setOptions(String options) {
		this.options = options;
	}

	public String getRightKey() {
		return rightKey;
	}

	public void setRightKey(String rightKey) {
		this.rightKey = rightKey;
	}

	
 
}

